package com.api.shopapi.service;

import com.alibaba.fastjson.JSONArray;
import com.api.shopapi.entity.CheckinAssessClass;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author maochuan
 */
@Service
public interface CheckinAssessClassService {
    int insert(CheckinAssessClass checkinAssessClass);

    int updateByCheckinAssessClassCode(CheckinAssessClass checkinAssessClass);

    int deleteByCheckinAssessClassCode(String checkinAssessClassCode);

    CheckinAssessClass getByCheckinAssessClassCode(String checkinAssessClassCode);

    CheckinAssessClass getByNameAndInstitutionCode(String name, String institutionCode);

    PageInfo<CheckinAssessClass> getPageList(int pageIndex, int pageSize, String institutionCode,int status);

    List<CheckinAssessClass> getList(String institutionCode);
}
